import Vue from "vue";
import "./plugins/axios";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/reset.css";
import "./assets/download.css";
import "amfe-flexible/index"; // 引入适应的文件

import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

Vue.config.productionTip = false;

import { Lazyload } from "vant";
Vue.use(Lazyload, {
    lazyComponent: true,
    loading: require("./assets/image/loding.gif"),
    error: require("./assets/image/loding.gif"),
});
new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");
